/* reset */
html,
body,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

/* display */
.dn {
    display: none;
}
.di {
    display: inline;
}
.db {
    display: block;
}
.dib {
    display: inline-block;
}

/* positioning */
.static {
    position: static;
}
.relative {
    position: relative;
}
.fixed {
    position: fixed;
}
.absolute {
    position: absolute;
}

/* text colors */
.white {
    color: #fff;
}

.green {
    color: #07c160;
}

.red {
    color: #fa4949;
}

.dark-gray {
    color: #333;
}

.gray {
    color: #666;
}

.silver {
    color: #999;
}

/* background colors */
.bg-black-90 {
    background-color: rgba(0, 0, 0, 0.9);
}
.bg-black-80 {
    background-color: rgba(0, 0, 0, 0.8);
}
.bg-black-70 {
    background-color: rgba(0, 0, 0, 0.7);
}
.bg-black-60 {
    background-color: rgba(0, 0, 0, 0.6);
}
.bg-black-50 {
    background-color: rgba(0, 0, 0, 0.5);
}
.bg-black-40 {
    background-color: rgba(0, 0, 0, 0.4);
}
.bg-black-30 {
    background-color: rgba(0, 0, 0, 0.3);
}
.bg-black-20 {
    background-color: rgba(0, 0, 0, 0.2);
}
.bg-black-10 {
    background-color: rgba(0, 0, 0, 0.1);
}
.bg-black-05 {
    background-color: rgba(0, 0, 0, 0.05);
}

.bg-white {
    background-color: #fff;
}

.bg-near-white {
    background-color: #f2f2f2;
}

.bg-green {
    background-color: #07c160;
}

.bg-red {
    background-color: #fa4949;
}

/* borders */
.bn {
    border-style: none;
    border-width: 0;
}

.ba {
    border-style: solid;
    border-width: 1px;
}

.bt {
    border-top-style: solid;
    border-top-width: 1px;
}

.br {
    border-right-style: solid;
    border-right-width: 1px;
}

.bb {
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.bl {
    border-left-style: solid;
    border-left-width: 1px;
}

/* border colors */

.b--green {
    border-color: #07c160;
}

.b--red {
    border-color: #fa4949;
}

.b--dark-gray {
    border-color: #333;
}

.b--light-gray {
    border-color: #e6e6e6;
}

/* text align */
.tc {
    text-align: center;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

/* type scale */
.f1 {
    font-size: 48px;
}

.f2 {
    font-size: 36px;
}

.f3 {
    font-size: 24px;
}

.f4 {
    font-size: 20px;
}

.f5 {
    font-size: 16px;
}

.f6 {
    font-size: 14px;
}

.f7 {
    font-size: 12px;
}

/* font weights */
.normal {
    font-weight: normal;
}
.b {
    font-weight: bold;
}
.fw1 {
    font-weight: 100;
}
.fw2 {
    font-weight: 200;
}
.fw3 {
    font-weight: 300;
}
.fw4 {
    font-weight: 400;
}
.fw5 {
    font-weight: 500;
}
.fw6 {
    font-weight: 600;
}
.fw7 {
    font-weight: 700;
}
.fw8 {
    font-weight: 800;
}
.fw9 {
    font-weight: 900;
}

/* line-height */
.lh-solid {
    line-height: 1;
}

.lh-title {
    line-height: 1.25;
}

.lh-copy {
    line-height: 1.5;
}

/* paddings */
.pa0 {
    padding: 0;
}
.pa1 {
    padding: 4px;
}
.pa2 {
    padding: 8px;
}
.pa3 {
    padding: 12px;
}
.pa4 {
    padding: 16px;
}
.pa5 {
    padding: 20px;
}
.pa6 {
    padding: 24px;
}
.pa7 {
    padding: 28px;
}

.pa-15 {
    padding: 15px;
}

.pv0 {
    padding-top: 0;
    padding-bottom: 0;
}
.pv1 {
    padding-top: 4px;
    padding-bottom: 4px;
}
.pv2 {
    padding-top: 8px;
    padding-bottom: 8px;
}
.pv3 {
    padding-top: 12px;
    padding-bottom: 12px;
}
.pv4 {
    padding-top: 16px;
    padding-bottom: 16px;
}
.pv5 {
    padding-top: 20px;
    padding-bottom: 20px;
}
.pv6 {
    padding-top: 24px;
    padding-bottom: 24px;
}
.pv7 {
    padding-top: 28px;
    padding-bottom: 28px;
}
.pv-11 {
    padding-top: 11px;
    padding-bottom: 11px;
}

.ph0 {
    padding-left: 0;
    padding-right: 0;
}
.ph1 {
    padding-left: 4px;
    padding-right: 4px;
}
.ph2 {
    padding-left: 8px;
    padding-right: 8px;
}
.ph3 {
    padding-left: 12px;
    padding-right: 12px;
}
.ph4 {
    padding-left: 16px;
    padding-right: 16px;
}
.ph5 {
    padding-left: 20px;
    padding-right: 20px;
}
.ph6 {
    padding-left: 24px;
    padding-right: 24px;
}
.ph7 {
    padding-left: 28px;
    padding-right: 28px;
}

.pt0 {
    padding-top: 0;
}
.pt1 {
    padding-top: 4px;
}
.pt2 {
    padding-top: 8px;
}
.pt3 {
    padding-top: 12px;
}
.pt4 {
    padding-top: 16px;
}
.pt5 {
    padding-top: 20px;
}
.pt6 {
    padding-top: 24px;
}
.pt7 {
    padding-top: 28px;
}

/* margins */
.ma0 {
    margin: 0;
}
.ma1 {
    margin: 4px;
}
.ma2 {
    margin: 8px;
}
.ma3 {
    margin: 12px;
}
.ma4 {
    margin: 16px;
}
.ma5 {
    margin: 20px;
}
.ma6 {
    margin: 24px;
}
.ma7 {
    margin: 28px;
}

.mt0 {
    margin-top: 0;
}
.mt1 {
    margin-top: 4px;
}
.mt2 {
    margin-top: 8px;
}
.mt3 {
    margin-top: 12px;
}
.mt4 {
    margin-top: 16px;
}
.mt5 {
    margin-top: 20px;
}
.mt6 {
    margin-top: 24px;
}
.mt7 {
    margin-top: 28px;
}

.mt-10 {
    margin-top: 10px;
}

.ml0 {
    margin-left: 0;
}
.ml1 {
    margin-left: 4px;
}
.ml2 {
    margin-left: 8px;
}
.ml3 {
    margin-left: 12px;
}
.ml4 {
    margin-left: 16px;
}
.ml5 {
    margin-left: 20px;
}
.ml6 {
    margin-left: 24px;
}
.ml7 {
    margin-left: 28px;
}

/* border radius */
.br0 {
    border-radius: 0;
}

.br-2 {
    border-radius: 2px;
}

.br-4 {
    border-radius: 4px;
}

.br-8 {
    border-radius: 8px;
}

.br--top {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.br--right {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.br--bottom {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.br--left {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.br-100 {
    border-radius: 100%;
}

.br-pill {
    border-radius: 9999px;
}

/* add pointer on hover */
.pointer {
    cursor: pointer;
}

.clickable:active {
    background-color: #f2f3f5;
}

/* box sizing */
html,
body,
div,
aside,
section,
main,
nav,
footer,
header,
form,
fieldset,
legend,
pre,
code,
a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
blockquote,
figcaption,
figure,
textarea,
table,
td,
th,
tr,
input[type='email'],
input[type='number'],
input[type='password'],
input[type='tel'],
input[type='text'],
input[type='url'],
.border-box {
    box-sizing: border-box;
}

/* disabled */
.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* flexbox */
.flex {
    display: flex;
}
.inline-flex {
    display: inline-flex;
}
.flex-auto {
    flex: 1 1 auto;
    min-width: 0; /* 1 */
    min-height: 0; /* 1 */
}
.flex-grow-1 {
    flex-grow: 1;
}
.flex-shrink-0 {
    flex-shrink: 0;
}
.flex-shrink-1 {
    flex-shrink: 1;
}
.items-center {
    align-items: center;
}

/* arrow */
.arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-left-width: 8px;
    border-right-width: 0;
    border-top-width: 4px;
    border-bottom-width: 4px;
    border-left-color: #bcbcbc;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

/* z index */
.z-0 {
    z-index: 0;
}
.z-1 {
    z-index: 1;
}
.z-2 {
    z-index: 2;
}
.z-3 {
    z-index: 3;
}
.z-4 {
    z-index: 4;
}
.z-5 {
    z-index: 5;
}
.z-999 {
    z-index: 999;
}
.z-1000 {
    z-index: 1000;
}
.z-9999 {
    z-index: 9999;
}
.z-max {
    z-index: 2147483647;
}

/* coordinates */
.top-0 {
    top: 0;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.bottom-0 {
    bottom: 0;
}
.absolute--fill {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.absolute--center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* animation */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.5s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

.slideup-enter-active,
.slideup-leave-active {
    transition: transform 0.3s;
}

.slideup-enter,
.slideup-leave-to {
    transform: translate3d(0, 100%, 0);
}

.slidedown-enter-active,
.slidedown-leave-active {
    transition: transform 0.3s;
}

.slidedown-enter,
.slidedown-leave-to {
    transform: translate3d(0, -100%, 0);
}

.slideleft-enter-active,
.slideleft-leave-active {
    transition: transform 0.3s;
}

.slideleft-enter,
.slideleft-leave-to {
    transform: translate3d(100%, 0, 0);
}

.slideright-enter-active,
.slideright-leave-active {
    transition: transform 0.3s;
}

.slideright-enter,
.slideright-leave-to {
    transform: translate3d(-100%, 0, 0);
}

/* width scale */
.w-100 {
    width: 100%;
}

/* overflow */
.overflow-hidden {
    overflow: hidden;
}
